/**
 * FileName: CommonEnty
 * Author: Wb
 * Date: 2025/9/25 10:21
 * Description:
 * History:
 */
package org.test.device.architecture;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author Wb
 * @create 2025/9/25
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CommonEntity {
    //描述
    private String comment;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatedTime;

    @TableField(fill = FieldFill.UPDATE)
    private String updatedBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(fill = FieldFill.INSERT)
    private String createdBy;

    //删除 0 存在 1 删除
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;
}